package com.prs.crm.dao.person.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.person.DegreeDao;
import com.prs.crm.domain.person.Degree;

public class DegreeDaoImpl extends BaseDaoImpl<Degree> implements DegreeDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<Degree> getAllDegree() {
		Criteria criteria=this.getSession().createCriteria(Degree.class);
		return criteria.list();
	}

}
